<?php 
$tr = Application_Form_FrmLanguages::getCurrentlanguage();
$session_user=new Zend_Session_Namespace('auth');
$request=Zend_Controller_Front::getInstance()->getRequest();
$user_info = new Application_Model_DbTable_DbGetUserInfo();
$result = $user_info->getUserInfo();
$profiles = $this->profile;
?>
<style>
<!--
#warpper{ }
#information{width: 70%; float: left; border: 1px;}
#photo{ width: 30%;float: left; padding-left:20px; margin-top:20px;}
#user_profile{
	border: 1px;
	width: 60%; margin: 0 auto; 
}
#user_profile tr td{
	padding:5px 20px;
}
-->
</style>
<?php $url_profile = $this->url(array('module'=>'foundation','controller'=>'index','action'=>'profile',null)); ?>
<div id="warpper">
<div id="user_profile">
<form action="#">
<fieldset>
<legend><h3 style="color:red; text-align: center;">Form Profile User Teacher</h3></legend>
<div id="information">
	<table class="table table-striped table-hover" id="dataTables-example">
	<?php //foreach ($profiles as $profiless){?>
		<tr>
			<td colspan="2" style="padding:5x 20px;"><h4>Contact Information</h4></td>
		</tr>
		<tr>
			<td>Email : </td>
			<td ><?php //echo $profiless['email'];?>Sarankh@gmail.com</td>
		</tr>
		<tr>
			<td width="35%">Phone Number :</td>
			<td><?php //echo $profiless['phone'];?>023 454 454</td>
		</tr>
		<tr>
			<td>Address :</td>
			<td><?php //echo $profiless['phone'];?>023 454 454</td>
		</tr>
		<tr>
			<td colspan="2"><h4>General Information</h4></td>
		</tr>
		<tr>
			<td>User Name :</td>
			<td><?php //echo $profiless['username'];?>Sarankh</td>
		</tr>
		<tr>
			<td>ID :</td>
			<td><?php //echo $profiless['fullname'];?>0001</td>
		</tr>
		<tr>
			<td>Education :</td>
			<td><?php //echo $profiless['fullname'];?>Master IT at Western </td>
		</tr>
		<tr>
			<td>Subject :</td>
			<td><?php //echo $profiless['fullname'];?>Comuputer</td>
		</tr>
		<tr>
			<td>Skill :</td>
			<td><?php //echo $profiless['fullname'];?>imformation Technology,Algorithsm,database System, WebSite, Analyssi </td>
		</tr>
		<tr>
			<td>Status :</td>
			<td><span style="padding:5px 10px; color:#fff; background: #287DFD;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;">
			<?php //echo $profiless['user_type'];?>Teacher</span></td>
		</tr>
		<?php //}?>
	</table>
	
</div>
<div id="photo">
	<div>
		<h3>Photo User</h3>
		<?php //if($profiless['photo']==""){?>
		<img width="160px" alt="" src="<?php echo $this->baseUrl();?>/images/images_profile.jpg">
		<?php // }else {?>
		<?php // }?>
	</div>
	<?php // $url_foundation_edit = $this->url(array('module'=>'foundation','controller'=>'user','action'=>'edit-user','id'=>$session_user->user_id,null));?>
	<a href="<?php // echo $url_foundation_edit;?>" style="margin-left: 30px;"><button type="button" class="btn btn-primary"> Edit Profile </button></a>
</div>
</fieldset>
</form>
</div>
</div>